<%@ page language="java" pageEncoding="UTF-8"%>
</div></div>
</body>
<script type="text/javascript" src="${base}/js/zidei/foot.js"></script>
<script type=text/javascript src="${base}/js/zidei/table.js"></script>
<script>
$(document).ready(function() {
    $('#alertMessage').dialog({
        autoOpen: false,
        width: 300,
        modal: true,
        buttons: {
            "取消": function() {
                $(this).dialog("close");
            }
        }
    });
$("#cancel").click(function()
		{
	  $("#pageForm").submit();
});
});
	function alertMessage(message)
	{
		if(("#alertMessage").length==0)
			{
			 $("body").append(''); 

			}
		 $("#alertMessageBody").html(message); 
		 $("#alertMessage").dialog("open"); 
	}
	
	function deleteEntity(ids)
	{
		var form=$("#pageForm");
		 $("#confirmMessageBody").html("确认删除？"); 
		 var curl=form.attr("action");
		  $("#confirmMessage").dialog("open"); 
      $("#confirmId").click(function() {
    	  curl=curl.substring(0,curl.lastIndexOf('/'));
    	  form.attr("action",curl+"/delete.do");
    	  form.append('<input type="hidden" name="id" value="'+ids+'"/>');
    	  form.submit();
      });
      
	}
 
                   </script>
</html>